package Lianxi;

public class Test001 {
    public static void say(Glass Glass) {    //多态参数
        Glass.mun();
        Glass.Area1();


    }

    public static void main(String[] args) {
        Glass glass = new Glass("装水");
//        people.mun();
//        people.Area1();

        Vacuumcup vacuumcup = new Vacuumcup("装水");
//        ChinesePeople.Area1();

        Flowerreceptacle flowerreceptacle=new Flowerreceptacle("装水");

        say(glass);
        say(vacuumcup);
        say(flowerreceptacle);

    }
}




